/*
 * cgolay-modal.js v0.0.1
 * ================================================
 * Copyright 2012 Claybox Ltd
 * 
 * v0.0.1 is main to set the modal options
 * type(string): error ,info ,success ,warning
 * heading(string):display the h1 content
 * content(html string): display the param html string
 * buttons: show in the foot of the alert dialog
 * height: int ,
 * width: int,
 * modal: true or false,
 * parent: $
 **/